
public class DisplayableState extends State {
	protected State originalState;
	protected int x;
	protected int y;
	
	public int getX() {
		return x;
	}

	public void setX(int x) {
		this.x = x;
	}

	public int getY() {
		return y;
	}

	public void setY(int y) {
		this.y = y;
	}

	public DisplayableState(State s, int x, int y) 
	{
		super(s);
		originalState = s;
		this.x =x;
		this.y = y;
	}


	public String toString()
	{
		return super.toString()+"(("+x+","+y+")";

		//return stateName+"\t x : "+x+"\t y : "+y+"\n";
	}

	public State getOriginalState() {
		return originalState;
	}
}
